import 'package:flutter/cupertino.dart';
import 'package:provider/provider.dart';

//公共的获取model
abstract class CommonInterface<T> {
  T model(BuildContext context) {
    return Provider.of<T>(context);
  }
}